package com.zhang.servicedriveruser.remote;

import com.zhang.internalcommon.dto.DriverUser;
import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.internalcommon.response.TerminalResponse;
import com.zhang.internalcommon.response.TrackResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 类功能描述
 * 调用map服务去获取tid
 * @author Kye
 * @date 2025-04-15
 */
@FeignClient("service-map")
public interface ServiceMapClient {
	@PostMapping("/terminal/add")
	public ResponseResult<TerminalResponse> addTerminal(@RequestParam String name,@RequestParam String desc);

	@PostMapping("/track/add")
	public ResponseResult<TrackResponse> addTrack(@RequestParam String tid);
}
